<?php 
use yii\helpers\Html;
use app\components\ActiveForm; 
use yii\captcha\Captcha; 
use app\models\config\SiteForm;
 

$form = ActiveForm::begin();

$appse=$model->weixin_appsecret;
$model->weixin_appsecret='你懂得';
echo $form->field($model, 'weixin_appId');
echo $form->field($model, 'weixin_appsecret');
echo '<p style="
    text-align: center;
    color: #94C7F4;
">'.substr($appse, 0,3).'***'.substr($appse, -3).'</p>';
echo $form->field($model, 'share_wx_debug')->dropDownList([
    'true'=>'true',
    'false'=>'false'
]);
echo $form->field($model, 'share_title');
echo $form->field($model, 'share_desc');
echo $form->field($model, 'share_url');
echo $form->field($model, 'quanju')->textarea();
echo $form->field($model, 'share_img');
 echo  Html::submitButton('保存', ['class' => 'btn btn-primary', 'name' => 'login-button']);
         
         ActiveForm::end(); 
 